package com.woniu.addresses.controller;


import com.woniu.addresses.model.City;
import com.woniu.addresses.service.CityService;
import com.woniu.model.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 欸嘿
 * @since 2024年05月29日
 */
@RestController
@RequestMapping("/city")
public class CityController {

    @Resource
    private CityService cityService;

//    @PostMapping("/findAllByProvinceCode")
//    public Result findAllByProvinceCode(FindAllCityForm form){
//        return Result.newListInstance(City.class);
//    }

}

